# Maintainer: Samed Beyribey <ras0ir@eventualis.org>
pkgname=python-storm
pkgver=0
pkgrel=1
pkgdesc="storm is a command line tool to manage your hosts at sshconfig"
arch=('any')
url="https://github.com/emre/storm"
source=('git://github.com/emre/storm.git')
sha1sums=('SKIP')
license=('MIT')
makedepends=('git')
depends=('python-paramiko' 'python-termcolor' 'python-flask' 'python-six'
        'python-crypto' 'python-ecdsa' 'python-werkzeug' 'python-jinja' 
        'python-itsdangerous' 'python-markupsafe')

# See https://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines#Git
pkgver() {
    cd "$srcdir/storm"
      printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
    }

build() {
    cd "$srcdir/storm"
    msg 'Building storm...'
    python setup.py build
}

package() {
  cd "$srcdir/storm"
  python setup.py install --root="$pkgdir/"
}

# vim:set ts=2 sw=2 et:
